ObjectDB ObjectDB

Internal Website Search

21-30 of 200 resultsRefresh
123

Configure ObjectDB in spring context

persistance.xml file. My previous database.xml (which is included in application-context.xml) look ... is to configure entire ObjectDB (optionally objectdb.conf too) in springs context.xml file so that I'd be able ... name="packagesToScan" value="com.jminer.core.persistence"/> <property name
119

Puzzler: Not getting cascades on read from Spring context

. My best guess is that perhaps I have something misconfigured in my persistence.xml or my context. -dh
25

javax.persistence.PersistenceContextType

persistence context is to be used in PersistenceContext. If not specified, a transaction-scoped persistence context is used. Since: JPA 1.0 PersistenceContextType EXTENDED Extended persistence context Extended persistence context Since: JPA 1.0 PersistenceContextType TRANSACTION Transaction-scoped
25

Retrieving JPA Entity Objects

of the database. The persistence context serves as a cache of retrieved entity objects. If a requested entity object is not found in the persistence context a new object is constructed and filled ... is then added to the persistence context as a managed entity object and returned to the application
23

javax.persistence.FlushModeType

.AUTO is set on the Query or TypedQuery object, or if the flush mode setting for the persistence context ... of all entities in the persistence context which could potentially affect the result of the query are visible ... of updates made to entities in the persistence context upon queries is unspecified
23

Storing JPA Entity Objects

. Therefore, holding 1,000,000 managed Point instances in the persistence context might consume too much memory. The sample code above clears the persistence context after every 10,000 persists. Updates ... New entity objects can be stored in the database either explicitly by invoking the persist method
22

javax.persistence.PersistenceUnit

javax.persistence Annotation PersistenceUnit Target: Classes and fields (including property get methods) Expresses a dependency on an EntityManagerFactory and its associated persistence unit ... the environment referencing context; not needed when dependency injection is used. (Optional) The name
21

javax.persistence.MapKeyJoinColumn

javax.persistence Annotation MapKeyJoinColumn Target: Fields (including property get methods ... generated by the persistence provider. (Optional) Whether the column is included in SQL INSERT statements generated by the persistence provider. Default value: true Since: JPA 2.0 String name (Optional
21

javax.persistence.JoinColumn

javax.persistence Annotation JoinColumn Target: Fields (including property get methods) Specifies ... ) Whether the column is included in SQL INSERT statements generated by the persistence provider. (Optional) Whether the column is included in SQL INSERT statements generated by the persistence provider
21

javax.persistence.MapKeyColumn

javax.persistence Annotation MapKeyColumn Target: Fields (including property get methods) Specifies ... is included in SQL INSERT statements generated by the persistence provider. (Optional) Whether the column is included in SQL INSERT statements generated by the persistence provider. Default value

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support